cmake_minimum_required(VERSION 3.19)
project(Cpp_training)

set(CMAKE_CXX_STANDARD 14)

# 测试工程
add_executable(Cpp_training main.cpp)
# 初级阶段 homework
add_executable(homework-primary-d2 homework-primary/homework-w1d2/AaddB.cpp)
add_executable(homework-primary-d3 homework-primary/homework-w1d3/int2char.cpp)
add_executable(homework-primary-d4 homework-primary/homework-w2d4/judgeYear.cpp)
add_executable(homework-primary-d5 homework-primary/homework-w2d5/characterSum.cpp)
add_executable(homework-primary-d6 homework-primary/homework-w2d6/symmetricalNum.cpp)
add_executable(homework-primary-d7-1 homework-primary/homework-w3d7-1/factorial.cpp)
add_executable(homework-primary-d7-2 homework-primary/homework-w3d7-2/exchangeMoney.cpp)
add_executable(homework-primary-d8 homework-primary/homework-w3d8/countRepeat.cpp)
add_executable(homework-primary-d9 homework-primary/homework-w3d9/invertString.cpp)
add_executable(homework-primary-d10 homework-primary/homework-w4d10/main.cpp)
add_executable(homework-primary-d11 homework-primary/homework-w4d11/main.cpp)
add_executable(homework-primary-d12 homework-primary/homework-w4d12/main.cpp)
# 中级阶段 homework
add_executable(homework-middle-d2 homework-middle/homework-middle-d2/main.cpp)
add_executable(homework-middle-d3 homework-middle/homework-middle-d3/main.cpp)
add_executable(homework-middle-d4 homework-middle/homework-middle-d4/main.cpp)
add_executable(homework-middle-d5 homework-middle/homework-middle-d5/main.cpp)
add_executable(homework-middle-d6 homework-middle/homework-middle-d6/main.cpp)
add_executable(homework-middle-d7 homework-middle/homework-middle-d7/main.cpp)
add_executable(homework-middle-d8 homework-middle/homework-middle-d8/main.cpp)
add_executable(homework-middle-d9 homework-middle/homework-middle-d9/main.cpp)
add_executable(homework-middle-d10 homework-middle/homework-middle-d10/main.cpp)
add_executable(homework-middle-d11 homework-middle/homework-middle-d11/main.cpp)
add_executable(homework-middle-d12 homework-middle/homework-middle-d12/main.cpp)
# 高级阶段 homework
add_executable(homework-senior-d1 homework-senior/homework-senior-d1/main.cpp)
add_executable(homework-senior-d2 homework-senior/homework-senior-d2/main.cpp)
add_executable(homework-senior-d3 homework-senior/homework-senior-d3/float.cpp)
add_executable(homework-senior-d4 homework-senior/homework-senior-d4/shiftingPrint.cpp)
add_executable(homework-senior-d5 homework-senior/homework-senior-d5/bitOperation.cpp)
add_executable(homework-senior-d6 homework-senior/homework-senior-d6/assemblyTrain.cpp)

# 笔记
add_executable(notes_SqList Notes_C_training/SqList/sqlist.cpp)
add_executable(notes_LinkList Notes_C_training/LinkList/linkList.cpp)
add_executable(notes_SqStack Notes_C_training/SqStack/sqStack.cpp)
add_executable(notes_SqQueue Notes_C_training/SqQueue/SqQueue.cpp)
add_executable(notes_HeapSort Notes_C_training/Sort/HeapSort.cpp)
add_executable(notes_ShowMemory Notes_C_training/showMemory.cpp)

add_executable(ds_notes_String Notes_DS/String/String.cpp)
add_executable(ds_notes_LinkStack Notes_DS/LinkStack/LinkStack.cpp)
add_executable(ds_notes_InsertSort Notes_DS/Sort/InsertSort.cpp)
add_executable(ds_notes_ShellSort Notes_DS/Sort/ShellSort.cpp)
add_executable(ds_notes_BubbleSort Notes_DS/Sort/BubbleSort.cpp)
add_executable(ds_notes_QuickSort Notes_DS/Sort/QuickSort.cpp)
